<template>
  <div class="category">
      <h2>{{title}}分类</h2>
      <slot name = "s1">等待结构填充1</slot>      
      <slot name = "s2">等待结构填充2</slot>  
  </div>
</template>

<script>
  export default {
      name:'Category',
      props:['title']
  }
</script>

<style scoped>
  .category{
      background-color: skyblue;
      width: 300px;
      height:300px;
  }
  h2{
      background-color: orange;
      text-align: center;
  }
  img,video{
      width: 100%;
  }
</style>